﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{  
  public  class BLLHospital
    {
      DAOHospital objDAOHos = new DAOHospital();
     
      public DataTable ListHospital()
      {
          return objDAOHos.ListHospital();
      }
      public int insertHospital(DTOHospitalInfo objHos)
       {
           return objDAOHos.InsertHospital(objHos);
       }
      public int updateHospital(DTOHospitalInfo objHos)
      {
          return objDAOHos.UpdateHospitalInfo(objHos);
      }
      public int deleteHospital(DTOHospitalInfo objHos)
      {
          return objDAOHos.DeleteHospital(objHos);
      }
      public DataTable GetHospitalById(DTOHospitalInfo objHos)
      {
          return objDAOHos.GetHospitalById(objHos);
      }

    }
}
